// 注册页面01
const register1 = () => {
  return {
    title: '您家孩子是男孩还是女孩？',
    prop: 'gender',
    btnsConf: [
      {
        list: ['男', '女']
      }
    ]
  }
}

// 注册页面02
const register2 = () => {
  return {
    title: '您家孩子哪一年的',
    prop: 'year',
    btnsConf: []
  }
}

// 注册页面03
const register3 = () => {
  return {
    title: '您家孩子的身高',
    prop: 'height',
    btnsConf: []
  }
}

// 注册页面04
const register4 = () => {
  return {
    title: '您家孩子的学历',
    prop: 'edu',
    btnsConf: []
  }
}

// 注册页面05
const register5 = () => {
  return {
    title: '您家孩子的月收入',
    prop: 'income',
    btnsConf: []
  }
}

// 注册页面05
const register6 = () => {
  return {
    title: '您家孩子在哪上班',
    prop: 'region'
  }
}

export const pageConfig = curPage => {
  const pageObj = {
    1: register1(),
    2: register2(),
    3: register3(),
    4: register4(),
    5: register5(),
    6: register6()
  }
  return pageObj[curPage]
}
